package org.railage.common.dto;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * DTO for ScheduleRecord entity
 * 
 * @author Cyril Fertikov
 * 
 */
public class ScheduleRecordDTO implements Serializable {
	private static final long serialVersionUID = -2505181642645373937L;

	private int trip;
	private String route;
	private Timestamp arrival;
	private Timestamp departure;

	public ScheduleRecordDTO() {

	}

	public int getTrip() {
		return trip;
	}

	public void setTrip(int trip) {
		this.trip = trip;
	}

	public String getRoute() {
		return route;
	}

	public void setRoute(String route) {
		this.route = route;
	}

	public Timestamp getArrival() {
		return arrival;
	}

	public void setArrival(Timestamp arrival) {
		this.arrival = arrival;
	}

	public Timestamp getDeparture() {
		return departure;
	}

	public void setDeparture(Timestamp departure) {
		this.departure = departure;
	}

	@Override
	public String toString() {
		return "ScheduleRecord [trip=" + trip + ", route=" + route
				+ ", arrival=" + arrival + ", departure=" + departure + "]";
	}

}
